/**
 * Created by cherrybomb on 2017/11/20.
 */
import React, { Component } from 'react';
import {NavBar} from 'iftide'


export default class Basic4 extends Component{
    constructor(props) {
        super(props);
    }

    rightButtonFuncMsg(){
        console.log('right Msg click');

    }

    rightButtonFuncMore(){
        console.log('right More click');
    }

    render() {
        let img1 = require('../images/info.png');
        let img2 = require('../images/plus.png');
        let header5={
            headerType:'headerExtr',
            logined:true,
            btnText:'退出',
            //btnImg:require('./images/u2865.png')
            rightButtonFuncMsg:this.rightButtonFuncMsg,
            rightButtonFuncMore:this.rightButtonFuncMore,
            listenImg:img1,
            rightButtonImage:img2
        };
        return (
            <NavBar {...header5}/>
        );
    }
}